// 处理token的接口
const KEY = 'rent-token'

// 储存token
export const setToken = (token) => { localStorage.setItem(KEY, token) }

// 获取token
export const getToken = () => localStorage.getItem(KEY)

// 删除token
export const delToken = () => { localStorage.removeItem(KEY) }
